var status = -1;
var selectionLog = [];

function start() {
    action(1, 0, 0)
}

function action(d, c, b) {
    if (status == 0 && d == 0) {
        cm.dispose();
        return
    }(d == 1) ? status++ : status--;
    selectionLog[status] = b;
    var a = -1;
    if (status <= a++) {
        cm.dispose()
    } else {
        if (status === a++) {
            var e = cm.getNpc();
            cm.sendNormalTalk("阴冷的气息正从藏经阁的窗子向外渗出。看来里面一定发生了什么不寻常的事情。", 2, 9310587, false, true);
            cm.setNumberForQuestInfo(62004, "check3", 1)
        } else {
            cm.dispose()
        }
    }
};